﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpMUD.Framework.Security;

namespace SharpMUD.Framework.Services.Principal
{
    public abstract class MudIdentity : System.Security.Principal.IIdentity
    {
        public abstract IUser User { get; }
        
        #region IIdentity Members

        public string AuthenticationType
        {
            get { return "SharpMUD"; }
        }

        public bool IsAuthenticated
        {
            get { throw new Exception("The method or operation is not implemented."); }
        }

        public string Name
        {
            get { throw new Exception("The method or operation is not implemented."); }
        }

        #endregion
    }
}
